<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Major_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-major_id" data-rule="required" data-source="school/major/index" class="form-control selectpage" name="row[major_id]" type="text" disabled value="{$row.major_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lesson_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lesson_id" data-rule="required" data-source="school/lesson/index" class="form-control selectpage" name="row[lesson_id]" type="text" value="{$row.lesson_id|htmlentities}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Major_level_dict')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-major_level_dict" class="form-control selectpicker" name="row[major_level_dict]">
                {foreach name="majorLevelDictList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.major_level_dict"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-level" class="form-control" name="row[level]" type="number" value="{$row.level|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Admin_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-admin_ids" data-rule="required" data-source="auth/admin/selectpage" data-multiple="true" data-field="nickname" class="form-control selectpage" name="row[admin_ids]" type="text" value="{$row.admin_ids|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Class_time_dict')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-class_time_dict" class="form-control selectpicker" name="row[class_time_dict]">
                {foreach name="classTimeDictList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.class_time_dict"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Class_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-class_date" data-kal="mode:'multiple',format:'YYYY-MM-DD'" class="form-control auto-kal" name="row[class_date]" type="text" value="{$row.class_date|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Room_dict')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-room_dict" class="form-control selectpicker" name="row[room_dict]">
                {foreach name="roomDictList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.room_dict"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
<script type="text/javascript" src="/assets/libs/Kalendae-master/build/kalendae.standalone.min.js"></script>
<link rel="stylesheet" href="/assets/libs/Kalendae-master/build/kalendae.css">